package com.itheima.TestBreeder;

public class Dog extends Animal implements Swimming{

    public Dog(int age) {
        super(age);
    }

    @Override
    public void eat() {
        System.out.println("狗吃肉、吃骨头");
    }

    @Override
    public void swimming() {
        System.out.println("狗刨");
    }
}
